import express from "express"
import path from "path"

const router = express.Router()

router.get("/router/get",(req,res)=>{
  res.send("Get router request")
})

router.post("/router/post",(req,res)=>{
  res.send("Post router request")
})

router.get("/response/download",(req,res)=>{
  res.download(path.resolve("package.json"))
})
export default router 